﻿namespace EP.Base.BaseService.Manager.Interface.Business
{
    /// <summary>
    /// 维护Es索引接口
    /// </summary>
    public interface IEsMaintainTask
    {
        /// <summary>
        /// 开始执行所有检测任务
        /// </summary>
        /// <returns></returns>
        bool ExecCheckAllTask();
        /// <summary>
        /// 开始执行某个检测任务
        /// </summary>
        /// <returns>执行是否成功</returns>
        bool ExecSingleTask(int id);
    }
}
